package com.zuipin.entity.product;

import java.math.BigDecimal;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 评价信息表
 *
 * @ClassName EvaluationInfo
 * @author wangcongyi
 * @date 2017年4月25日 下午2:09:08
 */
@ApiModel(description = "评价信息表")
public class EvaluationInfo {
	private Long				id;						// 评论信息ID
	
	private Long				memberId;				// 会员ID
	
	private String				nickName;				// 会员昵称
	
	private BigDecimal			score;					// 评分
	
	private Long				sysId;					// 系统ID
	
	private Long				orderId;				// 订单ID
	
	private Long				proExtId;				// 商品拓展ID
	
	private Short				state;					// 状态 0 待审核 1通过 2屏蔽
	
	private Boolean				delFlag;				// 删除标志 0未删除 1已删除
	
	private Long				createId;				// 创建者
	
	private String				createTime;				// 创建时间
	
	private Long				updateId;				// 更新者
	
	private String				updateTime;				// 更新时间
	
	private String				content;				// 评论内容
	
	private Short				isReply;				// 是否回复
	
	private String				replyContent;			// 回复内容
	
	private Short				isTop;					// 是否置顶 0 未置顶 1 置顶
	
	private String				topTime;				// 置顶时间
	
	private String				replyPerson;			// 回复者
	
	private String				replyTime;				// 回复时间
	
	private String				account;				// 账号 用于条件查询
	private String				orderNo;				// 订单编号 用于条件查询
	private String				proSku;					// 商品Sku 用于条件查询
	private String				startTime;				// 开始时间 用于条件查询
	private String				endTime;				// 结束时间 用于条件查询
	
	private List<EvaluationImg>	evaluationImgs;			// 用于保存评论
	
	public static final Integer	GIFT_POINTS		= 10;
	
	public static final Short	CHECK_PENDING	= 0;	// 待审核
	public static final Short	PASS			= 1;	// 通过
	public static final Short	SHIELD			= 2;	// 屏蔽
	
	public static final Short	TOP				= 1;	// 置顶
	public static final Short	NO_TOP			= 0;	// 不置顶
	
	public static final Short	IS_REPLY		= 1;	// 有回复
	public static final Short	NO_REPLY		= 0;	// 无回复
	
	public static final Integer	ZERO			= 0;
	
	@ApiModelProperty(value = "评论信息ID(添加不传值)")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "会员ID(添加必填值)")
	public Long getMemberId() {
		return memberId;
	}
	
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}
	
	@ApiModelProperty(value = "昵称(添加必填值)")
	public String getNickName() {
		return nickName;
	}
	
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	
	@ApiModelProperty(value = "系统ID(添加不传值)")
	public Long getSysId() {
		return sysId;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	@ApiModelProperty(value = "评分(添加必填值)")
	public BigDecimal getScore() {
		return score;
	}
	
	public void setScore(BigDecimal score) {
		this.score = score;
	}
	
	@ApiModelProperty(value = "订单ID(添加必填值)")
	public Long getOrderId() {
		return orderId;
	}
	
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	
	@ApiModelProperty(value = "商品拓展信息ID(添加必填值)")
	public Long getProExtId() {
		return proExtId;
	}
	
	public void setProExtId(Long proExtId) {
		this.proExtId = proExtId;
	}
	
	@ApiModelProperty(value = "评论信息状态   0 待审核 1通过 2屏蔽(添加不传值)")
	public Short getState() {
		return state;
	}
	
	public void setState(Short state) {
		this.state = state;
	}
	
	@ApiModelProperty(value = "删除标志   0 未删除 1已删除(添加不传值)")
	public Boolean getDelFlag() {
		return delFlag;
	}
	
	public void setDelFlag(Boolean delFlag) {
		this.delFlag = delFlag;
	}
	
	@ApiModelProperty(value = "创建者(添加不传值)")
	public Long getCreateId() {
		return createId;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	@ApiModelProperty(value = "创建时间(添加不传值)")
	public String getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime == null ? null : createTime.trim();
	}
	
	@ApiModelProperty(value = "更新者(添加不传值)")
	public Long getUpdateId() {
		return updateId;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	@ApiModelProperty(value = "更新时间(添加不传值)")
	public String getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime == null ? null : updateTime.trim();
	}
	
	@ApiModelProperty(value = "评论内容(添加必填值)")
	public String getContent() {
		return content;
	}
	
	public void setContent(String content) {
		this.content = content == null ? null : content.trim();
	}
	
	@ApiModelProperty(value = "是否回复(添加不传值)")
	public Short getIsReply() {
		return isReply;
	}
	
	public void setIsReply(Short isReply) {
		this.isReply = isReply;
	}
	
	@ApiModelProperty(value = "回复内容(添加不传值)")
	public String getReplyContent() {
		return replyContent;
	}
	
	public void setReplyContent(String replyContent) {
		this.replyContent = replyContent;
	}
	
	@ApiModelProperty(value = "是否置顶 0未置顶 1置顶(添加不传值)")
	public Short getIsTop() {
		return isTop;
	}
	
	public void setIsTop(Short isTop) {
		this.isTop = isTop;
	}
	
	@ApiModelProperty(value = "置顶时间(添加不传值)")
	public String getTopTime() {
		return topTime;
	}
	
	public void setTopTime(String topTime) {
		this.topTime = topTime;
	}
	
	@ApiModelProperty(value = "回复者(添加不传值)")
	public String getReplyPerson() {
		return replyPerson;
	}
	
	public void setReplyPerson(String replyPerson) {
		this.replyPerson = replyPerson;
	}
	
	@ApiModelProperty(value = "回复时间(添加不传值)")
	public String getReplyTime() {
		return replyTime;
	}
	
	public void setReplyTime(String replyTime) {
		this.replyTime = replyTime;
	}
	
	@ApiModelProperty(value = "会员账号(用于查询)")
	public String getAccount() {
		return account;
	}
	
	public void setAccount(String account) {
		this.account = account;
	}
	
	@ApiModelProperty(value = "商品SKU(用于查询)")
	public String getProSku() {
		return proSku;
	}
	
	public void setProSku(String proSku) {
		this.proSku = proSku;
	}
	
	@ApiModelProperty(value = "订单编号(用于查询)")
	public String getOrderNo() {
		return orderNo;
	}
	
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	
	@ApiModelProperty(value = "开始时间(用于查询)")
	public String getStartTime() {
		return startTime;
	}
	
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	
	@ApiModelProperty(value = "结束时间(用于查询)")
	public String getEndTime() {
		return endTime;
	}
	
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	
	@ApiModelProperty(value = "评论图片集--用于保存评论")
	public List<EvaluationImg> getEvaluationImgs() {
		return evaluationImgs;
	}
	
	public void setEvaluationImgs(List<EvaluationImg> evaluationImgs) {
		this.evaluationImgs = evaluationImgs;
	}
	
}